{% extends "base.html" %}
{% import "bootstrap/wtf.html" as wtf %}
{% import '_macro.html' as macros %}

{{ moment.lang('ch') }}
{% block titile %}Flasky{% endblock %}

{% block head %}
{{ super() }}
<link href="{{ url_for('static', filename='css/index/index.css') }}" rel="stylesheet" type="text/css" >
{% endblock %}
{% block page_content %}
    <div class="">
        <!--<div>-->
            <!--{% if current_user.can(Permission.WRITE_ARTICLES) %}-->
            <!--{{ wtf.quick_form(form) }}-->
            <!--{% endif %}-->
        <!--</div>-->
        {% include '_posts.html' %}
        {% if pagination %}
        <div class="pagination">
            {{ macros.pagination_widget(pagination, '.index') }}
        </div>
        {% endif %}
    </div>
{% endblock %}

{% block scripts %}
{{ super() }}
{{ pagedown.include_pagedown() }}
{% endblock %}